#include "bsp_mmdc.h"

void MMDC_CLK() {

  // CCM_CBCMR_PRE_PERIPH_CLK_SEL(0x1)
  CCM->CBCMR &= ~(0x3 << 18);
  CCM->CBCMR |= (0x1 << 18);
  // CCM_CBCDR_PERIPH2_CLK_SEL(0);
  CCM->CBCDR &= ~(0x1 << 26);
  // CCM_CBCDR_FABRIC_MMDC_PODF(0)
  CCM->CBCDR &= ~(0x7 << 3);
}